<?php if (!defined('THINK_PATH')) exit();?>    
	<div class="index-banner"><div class="index-bannera">
    <div class="banner">

<script language="javascript" src="/Public/home/js/jquery.flexslider-min.js"></script>
<div class="flexslider">
        <ul class="slides">
         <?php if(is_array($ad)): $i = 0; $__LIST__ = $ad;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li style="background: url(<?php echo (get_cover($item['cover_id'],'path')); ?>) 50% 0 no-repeat;"></li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
      </div>
     
      <script>
      $(window).load(function() {
          $('.flexslider').flexslider({
              directionNav: false,
              pauseOnAction: false
          });
      });
      </script>
</div>
    
    
    </div></div>